cmake_minimum_required(VERSION 3.22)
project(project_01 C)

set(CMAKE_C_STANDARD 99)
include_directories(${PROJECT_SOURCE_DIR}/include)
#add_executable(project_01 src/main.c src/sqlite3.c include/head.h src/sql.c)
file(GLOB SRC_FILES "${PROJECT_SOURCE_DIR}/src/*.c")
# 用变量代替逐个文件，生成可执行文件
add_executable(demo1106 ${SRC_FILES} src/user.c src/login.c src/resident.c src/repair.c src/payment.c src/floor.c src/ParkControl.c src/ComplaintControl.c src/house.c)